package com.foreknow.demo27;

public class MyThread1 implements  Runnable{
    @Override
    public void run() {
        //线程中要执行的操作
        int count = 0;
        while(count<10){
            count++;
            System.out.println("Thread1"+count);
        }
    }
}
